package views;

import org.eclipse.swt.SWT;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.widgets.Button;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Label;
import org.eclipse.swt.widgets.List;
import org.eclipse.wb.swt.SWTResourceManager;

public class AdatkarbantartasElemvalasztoView extends Composite {

	private Label lblElemNev;
	private List listElemek;
	private Button btnUjElem;
	private Button btnModosit;
	private Button btnTorol;
	private Button btnMegse;

	public AdatkarbantartasElemvalasztoView(Composite arg0, int arg1) {
		super(arg0, arg1);
		setLayout(new GridLayout(4, true));

		lblElemNev = new Label(this, SWT.NONE);
		lblElemNev.setLayoutData(new GridData(SWT.LEFT, SWT.CENTER, true,
				false, 4, 1));
		lblElemNev.setFont(SWTResourceManager.getFont("Times New Roman", 12,
				SWT.BOLD));
		lblElemNev.setText("Elemek");

		listElemek = new List(this, SWT.BORDER);
		listElemek.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true,
				4, 1));

		btnUjElem = new Button(this, SWT.NONE);
		btnUjElem.setLayoutData(new GridData(SWT.CENTER, SWT.CENTER, false,
				false, 1, 1));
		btnUjElem.setText("New Button");

		btnModosit = new Button(this, SWT.NONE);
		btnModosit.setLayoutData(new GridData(SWT.CENTER, SWT.CENTER, false,
				false, 1, 1));
		btnModosit.setText("New Button");

		btnTorol = new Button(this, SWT.NONE);
		btnTorol.setLayoutData(new GridData(SWT.CENTER, SWT.CENTER, false,
				false, 1, 1));
		btnTorol.setText("New Button");

		btnMegse = new Button(this, SWT.NONE);
		btnMegse.setLayoutData(new GridData(SWT.CENTER, SWT.CENTER, false,
				false, 1, 1));
		btnMegse.setText("New Button");
	}

	public Label getLblElemNev() {
		return lblElemNev;
	}

	public void setLblElemNev(Label lblElemNev) {
		this.lblElemNev = lblElemNev;
	}

	public List getListElemek() {
		return listElemek;
	}

	public void setListElemek(List listElemek) {
		this.listElemek = listElemek;
	}

	public Button getBtnUjElem() {
		return btnUjElem;
	}

	public void setBtnUjElem(Button btnUjElem) {
		this.btnUjElem = btnUjElem;
	}

	public Button getBtnModosit() {
		return btnModosit;
	}

	public void setBtnModosit(Button btnModosit) {
		this.btnModosit = btnModosit;
	}

	public Button getBtnTorol() {
		return btnTorol;
	}

	public void setBtnTorol(Button btnTorol) {
		this.btnTorol = btnTorol;
	}

	public Button getBtnMegse() {
		return btnMegse;
	}

	public void setBtnMegse(Button btnMegse) {
		this.btnMegse = btnMegse;
	}

}
